package com.book.backend.feign;

import com.book.backend.pojo.SeckillBook;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("book-seckill")
public interface SeckillSessionService {

    @GetMapping(value = "/seckill/Lates3DaySession")
    List<SeckillBook> getLates3DaySession();
}
